package com.feemanage.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.framework.config.BigDecimalSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
@ApiModel("经费调账--经费科目及费用list")
public class BudgetAmountAlterationVO {

    @ApiModelProperty("总预算")
    @JsonSerialize(using = BigDecimalSerializer.class)
    private BigDecimal subjectFee;//总预算

    @ApiModelProperty("上级科目编号")
    private String upCode; //上级科目编号

    @ApiModelProperty("经费科目id")
    private String subjectId; //经费编号

    @ApiModelProperty("经费科目code")
    private String subjectCode; //经费编号

    @ApiModelProperty("经费科目名称")
    private String subjectName;//经费名称

    @ApiModelProperty("经费卡对应的费用")
    private List<AlterationVals> alterationVals;

    //子节点
    @ApiModelProperty("子节点")
    private List<BudgetAmountAlterationVO> children;
}
